package cc.yugu.yhdw.webserver.persistence.basic;

import cc.yugu.yhdw.common.domain.basic.CustomerInOutMoney;
import cc.yugu.yhdw.common.persistence.MasterMapper;

import java.util.List;
/**
 * 客户资金流水映射
 *
 * @Date:Created in 2018/6/28 13:33
 * @Author:
 * @Modified By: zjn 2018/6/28 13:33
 */
public interface CustomerInOutMoneyMapper extends MasterMapper {
    /**
    * 根据客户id查询表bas_customer_in_out_money ，返回对应的行数
    *
    * @Param: [search]
    * @Return: int
    * @Author By: zjn 2018/6/28  13:33
    */
    public int findPageCount(CustomerInOutMoney search);
    /**
    * 分页查询， 根据客户id查询出所有数据，并按照主键id降序（从大到小）排列显示
    *
    * @Param: [search]
    * @Return: java.util.List<cc.yugu.yhdw.common.domain.basic.CustomerInOutMoney>
    * @Author By: zjn 2018/6/28  13:34
    */
    public List<CustomerInOutMoney> findPageResult(CustomerInOutMoney search);
    /**
    * 往数据库中插入数据信息
    *
    * @Param: [entity]
    * @Return: int
    * @Author By: zjn 2018/6/28  13:37
    */
    public int insert(CustomerInOutMoney entity);
}
